package main

import (
	"fmt"
	"time"
)

func main() {
	go LongTask()
	immediateTask()
	time.Sleep(time.Second)
}

func LongTask() {
	time.Sleep(time.Millisecond * 500)
	fmt.Println("long task done")
}

func immediateTask() {
	fmt.Println("immediately task done")
}
